package func

/**
  * Created by feng on 10/12/2018.
  */
class Func1 {


}

object Demo{


  def main(args: Array[String]): Unit = {

    val x = 0

    val v = for (i <- 1 to 10) yield i*10
    println(v)



  }

  def time()={
    println("getting time in nano seconds")
    System.nanoTime()
  }



  def delayed( t: => Long )={
    println("in delayed methos")
    println("param:"+t)
  }
}
